package com.etone.smartAudit.dto.tool;

import com.etone.smartAudit.dto.FileDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @author: sovy
 * @date: 2020/9/08
 * @description:
 */
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
@ApiModel(value = "工具表单")
public class ToolDTO implements Serializable {
    @ApiModelProperty("工具名称")
    private String name;

    @ApiModelProperty("详情")
    private String detail;

    @ApiModelProperty("介绍")
    private String remark;

    @ApiModelProperty("附件")
    private List<FileDTO> files;

    @ApiModelProperty("封面")
    private FileDTO cover;
}
